import request from '@/utils/request'

export function add(data = {}) {
  return request({
    url: '/costSubsidies/add',
    method: 'post',
    params: data
  })
}

export function del(data = {}) {
  return request({
    url: '/costSubsidies/delete',
    method: 'post',
    params: data
  })
}

export function detail(data = {}) {
  return request({
    url: '/costSubsidies/detail',
    method: 'post',
    params: data
  })
}

export function getAll(data = {}) {
  return request({
    url: '/costSubsidies/getAll',
    method: 'post',
    params: data
  })
}

export function update(data = {}) {
  return request({
    url: '/costSubsidies/update',
    method: 'post',
    params: data
  })
}

export function getAuditCosts(data = {}) {
  return request({
    url: '/costSubsidies/getAuditCosts',
    method: 'post',
    params: data
  })
}

export function audit(data = {}) {
  return request({
    url: '/costSubsidies/audit',
    method: 'post',
    params: data
  })
}
